/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.coupon.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 品牌和c端关联表（饭友表）
 *
 * @author proj code generator
 * @date 2021-02-01 19:00:43
 */
@Data
@ApiModel(value = "品牌和c端关联表（饭友表）")
public class FxBrandPersonVo implements Serializable {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ApiModelProperty(value="饭友当前品牌注册时间")
    private LocalDateTime fyCreateTime;
    @ApiModelProperty(value="")
    private Long id;
    /**
     * 用户id
     */
    @ApiModelProperty(value="用户id")
    private Long perId;
	@ApiModelProperty(value="公司id")
	private Long companyId;
    /**
     * 品牌id
     */
    @ApiModelProperty(value="品牌id")
    private Long brandId;
	@ApiModelProperty(value="门店id")
	private Long shopId;
    /**
     * 服务员id
     */
    @ApiModelProperty(value="服务员id")
    private Long waiterId;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
    @ApiModelProperty(value="0可用1删除")
    private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;

	//       ================================

	/**
	 * 登录角色类型  0系统管理员 1公司 2品牌 3门店 4服务员
	 */
	@ApiModelProperty(value="登录角色类型 0系统管理员 1公司 2品牌 3门店 4服务员")
	private Integer loginRoleType;


	/**
	 * 查看角色类型  1 服务员  2 门店  3 品牌  4公司
	 */
	@ApiModelProperty(value="查看角色类型  1 服务员  2 门店  3 品牌  4公司 ")
	private Integer lookRoleType;

	@ApiModelProperty(value="分销类型  0注册1 转发 2核销 ")
	private Integer distributionType;

	@ApiModelProperty(value="C端用户ID")
	private Long personId;

	@ApiModelProperty(value="性别 ：1男  2女")
	private Integer sex;

	@ApiModelProperty(value="C端 饭友头像")
	private String headPortrait;

	@ApiModelProperty(value = "饭友名称（C端用户）")
	private String personName;

	@ApiModelProperty(value = "饭友电话（C端用户）")
	private String personPhone;

	@ApiModelProperty(value="饭友ID")
	private Long fanYouId;

	@ApiModelProperty(value = "用户id(服务员)")
	private Long loginId;

	@ApiModelProperty(value = "服务员用户名")
	private String username;

	@ApiModelProperty(value="门店名称")
	private String shopName;

	@ApiModelProperty(value="门店电话")
	private String shopPhone;

	@ApiModelProperty(value="品牌名称")
	private String brandName;

	@ApiModelProperty(value="公司名称")
	private String companyName;

	@ApiModelProperty(value="核销优惠券统计")
	private Integer couponCount;

	@ApiModelProperty(value="核销优惠券累计佣金")
	private BigDecimal couponCommissionCount;

	@ApiModelProperty(value="转发统计")
	private Integer forwardCount;

	@ApiModelProperty(value="转发累计佣金")
	private BigDecimal forwardCommissionCount;

	@ApiModelProperty(value="邀请统计")
	private Integer invitationCount;

	@ApiModelProperty(value="邀请累计佣金")
	private BigDecimal invitationCommissionCount;

	@ApiModelProperty(value="创建开始时间")
	private LocalDateTime createStaTime;

	@ApiModelProperty(value="创建结束时间")
	private LocalDateTime createEndTime;

	@ApiModelProperty(value="转发类型 1海报 2小程序卡片")
	private Integer forwardType;

	@ApiModelProperty(value="转发标题")
	private String forwardTitle;

	@ApiModelProperty(value="任务类型：1邀请好友  2分享文章  3分享门店")
	private Integer taskType;

	@ApiModelProperty(value="优惠券编号")
	private String couponNumber;

	@ApiModelProperty(value="优惠券名称")
	private String couponName;

	@ApiModelProperty(value="优惠券类型 0无门槛 1满减")
	private Integer couponType;

	@ApiModelProperty(value="最低消费金额")
	private BigDecimal lowMoney;

	@ApiModelProperty(value="减免金额")
	private BigDecimal reductionMoney;

	@ApiModelProperty(value="消费金额")
	private BigDecimal cnMoney;

	@ApiModelProperty(value="统计金额字段")
	private BigDecimal distributionTypeMoney;

	@ApiModelProperty(value="服务员id集合")
	private List<Long> waiterIdList;

	@ApiModelProperty(value = "饭友微信名称（C端用户）")
	private String personNickName;

	@ApiModelProperty(value = "饭友注册时间（C端用户）")
	private LocalDateTime personCreateTime;

	@ApiModelProperty(value="饭友累计核销佣金（C端用户）")
	private BigDecimal personCommissionCount = BigDecimal.ZERO;

	@ApiModelProperty(value="饭友累计核销次数（C端用户）")
	private Integer personCouponCount;

    }
